package com.eam.asset.file.vo.AssetHouse;

import com.eam.asset.file.domain.AssetHouse;
import com.eam.asset.file.group.AssetGroup.AssetAddGroup;

import javax.validation.constraints.NotNull;

/**
 * @author tzf
 * @description: 房屋资产添加类Vo
 * @date: 2023/11/2 9:48
 */

public class AssetHouseAddVo extends AssetHouse {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "资产名称不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHouseName() {
        return super.getHouseName();
    }

    @NotNull(message = "资产位置不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHousePosition() {
        return super.getHousePosition();
    }

    @NotNull(message = "资产来源不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHouseSource() {
        return super.getHouseSource();
    }

    @NotNull(message = "资产数量不能为空", groups = AssetAddGroup.class)
    @Override
    public Long getHouseNumber() {
        return super.getHouseNumber();
    }

    @NotNull(message = "产权人不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHouseOwner() {
        return super.getHouseOwner();
    }

    @NotNull(message = "资产产权号不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHouseWarrant() {
        return super.getHouseWarrant();
    }

    @NotNull(message = "资产类别不能为空", groups = AssetAddGroup.class)
    @Override
    public String getHouseCategory() {
        return super.getHouseCategory();
    }
}
